﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Navigation;
using System.Windows.Shapes;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;

namespace TimKiemDichVu
{
    public class Define
    {
        private int _nServiceName;

        public int nServiceName
        {
            get { return _nServiceName; }
            set { _nServiceName = value; }
        }

        private int _nDistrictName;

        public int nDistrictName
        {
            get { return _nDistrictName; }
            set { _nDistrictName = value; }
        }        

        private List<string> _ServiceNameList;
        public List<string> ServiceNameList
        {
            get { return _ServiceNameList; }
            set { _ServiceNameList = value; }
        }

        private List<string> _DistrictNameList;
        public List<string> DistrictNameList
        {
            get { return _DistrictNameList; }
            set { _DistrictNameList = value; }
        }

        private List<int> _DistrictIndexList;
        public List<int> DistrictIndexList
        {
            get { return _DistrictIndexList; }
            set { _DistrictIndexList = value; }
        }

        public Define()
        {
            #region Service name list
            ServiceNameList = new List<string>();
            ServiceNameList.Add("Tất cả");
            ServiceNameList.Add("Bệnh viện");
            ServiceNameList.Add("Trường học");
            ServiceNameList.Add("Quán cafe");
            ServiceNameList.Add("Quán ăn");
            ServiceNameList.Add("ATM");
            ServiceNameList.Add("Trạm xăng");
            ServiceNameList.Add("Shop thời trang");
            ServiceNameList.Add("Tiệm hớt tóc");
            ServiceNameList.Add("Karaoke");
            ServiceNameList.Add("Nhà hàng");
            ServiceNameList.Add("Khách sạn");
            ServiceNameList.Add("Công viên");
            ServiceNameList.Add("Chợ");
            ServiceNameList.Add("Rạp chiếu phim");
            ServiceNameList.Add("Sân bóng đá");
            ServiceNameList.Add("Bến xe");
            ServiceNameList.Add("Phòng khám");
            ServiceNameList.Add("Bến xe bus");
            ServiceNameList.Add("Sân vận động");
            ServiceNameList.Add("Nhà trọ");
            ServiceNameList.Add("Siêu thị");            
            ServiceNameList.Add("Cơ quan hành chính");
            ServiceNameList.Add("Cửa hàng kim khí điện máy");
            ServiceNameList.Add("Cửa hàng đồ gỗ");            
            #endregion

            #region District index list
            DistrictIndexList = new List<int>();
            DistrictIndexList.Add(0);
            DistrictIndexList.Add(26);
            DistrictIndexList.Add(27);
            DistrictIndexList.Add(28);
            DistrictIndexList.Add(29);
            DistrictIndexList.Add(30);
            DistrictIndexList.Add(31);
            DistrictIndexList.Add(32);
            DistrictIndexList.Add(33);
            DistrictIndexList.Add(34);
            DistrictIndexList.Add(44);
            DistrictIndexList.Add(45);
            DistrictIndexList.Add(46);
            DistrictIndexList.Add(47);
            DistrictIndexList.Add(48);
            DistrictIndexList.Add(49);
            DistrictIndexList.Add(50);
            DistrictIndexList.Add(51);
            DistrictIndexList.Add(52);
            DistrictIndexList.Add(53);
            DistrictIndexList.Add(54);
            DistrictIndexList.Add(55);            
            #endregion

            #region District name list
            DistrictNameList = new List<string>();
            DistrictNameList.Add("Tất cả");
            DistrictNameList.Add("1");
            DistrictNameList.Add("Tân Bình");
            DistrictNameList.Add("4");
            DistrictNameList.Add("5");
            DistrictNameList.Add("6");
            DistrictNameList.Add("8");
            DistrictNameList.Add("9");
            DistrictNameList.Add("10");
            DistrictNameList.Add("Tân Phú");
            DistrictNameList.Add("Bình Tân");
            DistrictNameList.Add("Bình Thạnh");
            DistrictNameList.Add("3");
            DistrictNameList.Add("7");
            DistrictNameList.Add("2");
            DistrictNameList.Add("11");
            DistrictNameList.Add("12");
            DistrictNameList.Add("Phú Nhuận");
            DistrictNameList.Add("Gò Vấp");
            DistrictNameList.Add("Nhà Bè");            
            DistrictNameList.Add("Thủ Đức");
            DistrictNameList.Add("Hóc Môn");
            #endregion            

            nServiceName = ServiceNameList.Count - 1;
            nDistrictName = DistrictNameList.Count - 1;
        }
    }
}
